package com.csea.tools.tables;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author Csea
 * @title
 * @date 2020/1/10 10:21
 */
@Data
public class StudentImport {
    @Excel(name = "学号", width = 20)
    private String studentNumber;

    @Excel(name = "学生姓名", height = 20, width = 30)
    private String name;

    @Excel(name = "学生性别", replace = {"男_1", "女_2"}, suffix = "生")
    private int sex;

    @Excel(name = "出生日期", format = "yyyy-MM-dd", width = 20)
    private Date birthday;

    @Excel(name = "进校日期", format = "yyyy-MM-dd HH:mm:ss",width = 20)
    private LocalDateTime registrationDate;
}
